import React, { Component } from 'react';
import Swiper from './UI/swiper'
import connect from './connect'
import Search from './UI/search'
import List from './UI/list'
import Header from '../../components/Header/header'

class index extends Component {
    render() {
        return (
            <>
                <Header/>
                <Swiper />
                <Search />
                <List />
            </>
        );
    }
    componentDidMount(){
        this.props.initimg()
        this.props.hotlist()
      }
}

export default connect(index);
